<!DOCTYPE html>
<html  lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout  - Layui</title>
    <link rel="stylesheet" th:href="@{/libs/layui/css/layui.css}">

    <style>
        #ff{
            height: 260px;

        }
    </style>

</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">校园应用系统</div>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" class="layui-nav-img">
                    tester
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">Your Profile</a></dd>
                    <dd><a href="">Settings</a></dd>
                    <dd><a href="">Sign out</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">学生管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAll">学生基本信息管理</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;">教室管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAllClassroom">教室信息管理</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;">班级管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAllGrade">班级信息管理</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;">宿舍管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/findAllDormitory">宿舍信息管理</a></dd>
                    </dl>
                </li>

            </ul>
        </div>
    </div>


    <div class="layui-body">
        <h1>宿舍信息修改页面</h1><br>

<form th:action="@{/updateDor}" method="post" th:object="${list}">

    <input type="hidden" th:field="*{pkId}">

    <div class="layui-form-item">
        <label class="layui-form-label">区域</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{area}"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">楼号</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{buildingNo}"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">楼层</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{buildingFloor}"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">宿舍ID</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{dormitoryId}"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">宿舍名称</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{dormitoryName}"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">床位数量</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{bedNumber}"  autocomplete="off" class="layui-input">
        </div>
    </div>
     宿舍是否被使用：
<!--    <select name="useStatus">
        <option value="0">正常</option>
        <option value="1">空闲</option>
        <option value="2">停用</option>
        <option value="3">保留</option>
    </select>-->

 <!--   <div class="layui-form-item">
        <div class="layui-input-inline">
            <select name="useStatus">
                <option value="0" selected="">正常</option>
                <option value="1">空闲</option>
                <option value="2">停用</option>
                <option value="3">保留</option>
            </select>
        </div>-->

        <div class="layui-form-item">
            <div class="layui-input-block">
                正常:<input type="radio" name="useStatus" value="0" checked>
                空闲:<input type="radio" name="useStatus" value="1" >
                停用:<input type="radio" name="useStatus" value="2" >
                保留:<input type="radio" name="useStatus" value="3" >
            </div>
        </div>



   <!-- <div class="layui-form-item">
        <label class="layui-form-label">创建时间</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{updateTime}"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">修改时间</label>
        <div class="layui-input-inline">
            <input type="tel" th:field="*{updateTime}"  autocomplete="off" class="layui-input">
        </div>
    </div>-->


    <input type="submit" value="提交" class="layui-btn layui-btn-warm">

</form>



    </div>

    <div class="layui-footer">

    </div>

    <script th:src="@{/libs/layui/layui.js}"></script>
</div>

</body>
</html>